//
//  MethodVC.m
//  MyFramework
//
//  Created by yunsheng on 15/8/13.
//  Copyright (c) 2015年 517na. All rights reserved.
//

#import "MethodVC.h"

@implementation MethodVC

- (UIViewController *)vcFromFramework {
    NSBundle *bundle = [NSBundle mainBundle];
    NSString *str = [bundle pathForResource:@"MyFramework" ofType:@"framework" inDirectory:@"Frameworks"];
    UIStoryboard *story = [UIStoryboard storyboardWithName:@"MyStoryboard" bundle:[NSBundle bundleWithPath:str]];
    return [story instantiateInitialViewController];
}

@end
